# -*- coding: utf-8 -*-

import os, sys

sys.path += ['/home/cpinto/dev/pythonmq/src', '/home/cpinto/dev/pythonmq/example']
os.environ['MQ_SETTINGS_MODULE'] = 'mq.settings'


from pythonmq import MQClient

if __name__ == '__main__':
    try:
        d = MQClient()
        d.start_sessions()
        raw_input("press ENTER to leave\n")
    finally:
        d.stop_sessions()
